package com.pkk.cloud.support.admin.dto.req.urls;

import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 接口请求的请求类
 * @author: peikunkun
 * @create: 2020-04-02 15:06
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OauthUrlsAddReqDto implements Serializable {

  private static final long serialVersionUID = -6050399950526033437L;


  /**
   * 资源id
   */
  @NotNull(message = "请选择所属的资源信息")
  private Long resourceId;

  /**
   * 接口地址信息
   */
  @NotNull(message = "请添加要添加的接口信息")
  private List<OauthUrlsAddChildReqDto> urls;

}
